package com.kws.tool.dto;

import io.swagger.annotations.ApiModelProperty;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * <b>CreateControlGroupRq</b>
 *
 * @description: CreateControlGroupRq <br>
 * @date: 2024/11/11 17:23 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class CreateControlGroupRq {
    @ApiModelProperty(value = "控件组名称")
    @NotNull
    private String componentGroupName;

    @ApiModelProperty(value = "控件组展示顺序（默认：1）")
    private Integer componentGroupOrder;

    @ApiModelProperty(value = "控件列表")
    private List<CreateComponentRq> components;

    @NotNull
    public String getComponentGroupName() {
        return componentGroupName;
    }

    public void setComponentGroupName(@NotNull String componentGroupName) {
        this.componentGroupName = componentGroupName;
    }

    public Integer getComponentGroupOrder() {
        return componentGroupOrder;
    }

    public void setComponentGroupOrder(Integer componentGroupOrder) {
        this.componentGroupOrder = componentGroupOrder;
    }

    public List<CreateComponentRq> getComponents() {
        return components;
    }

    public void setComponents(List<CreateComponentRq> components) {
        this.components = components;
    }
}
